Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Function |to_bytes

std/secret::|to_bytes


Usage

|to_bytes(secret, name)

Parameters

↳ secret: Secret<string>
↳ name: string

Return

↴ Secret<Vec<byte>>


Secret made of the UTF-8 bytes of a string secret, computed when revealed.